package com.example.coupon.service;

import org.apache.kafka.clients.consumer.ConsumerRecord;

/**
 * kafka 相关的服务接口定义
 * @author wangbo
 * @description:
 * @date 2021/2/1910:19
 */
public interface IKafkaService {

    /**
     * 消费优惠券kafka消息
     * @param record {@link ConsumerRecord}
     */
    void consumeCouponKafkaMessage(ConsumerRecord<?,?> record);


}
